package com.woniu.job.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author song
 * @since 2019-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    private String account;

    private String password;

    private String telephone;

    @TableField("realName")
    private String realName;

    private String email;

    private String gender;

    private LocalDate birthdate;

    private String qq;

    private String address;

    private String profile;

    private String status;

    private String avatar;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public LocalDate getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(LocalDate birthdate) {
        this.birthdate = birthdate;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public User id(String id)
    {
        this.id = id;
        return this;
    }

    public User account(String account)
    {
        this.account = account;
        return this;
    }

    public User password(String password)
    {
        this.password = password;
        return this;
    }

    public User telephone(String telephone)
    {
        this.telephone = telephone;
        return this;
    }

    public User realName(String realName)
    {
        this.realName = realName;
        return this;
    }

    public User email(String email)
    {
        this.email = email;
        return this;
    }

    public User gender(String gender)
    {
        this.gender = gender;
        return this;
    }

    public User birthdate(LocalDate birthdate)
    {
        this.birthdate = birthdate;
        return this;
    }

    public User qq(String qq)
    {
        this.qq = qq;
        return this;
    }

    public User address(String address)
    {
        this.address = address;
        return this;
    }

    public User profile(String profile)
    {
        this.profile = profile;
        return this;
    }

    public User status(String status)
    {
        this.status = status;
        return this;
    }

    public User avatar(String avatar)
    {
        this.avatar = avatar;
        return this;
    }
}
